<template>
  <main class="multiplying">
    <c-navigation>
      <c-time @change="timeChangeHandler"/>
    </c-navigation>
    <top-content/>
    <bottom-content/>
  </main>
</template>

<script lang="ts">
import topContent from "./components/topContent.vue";
import bottomContent from "./components/bottomContent.vue";

export default {
  name: 'multiplying',
  components: {topContent, bottomContent},
  provide() {
    return {
      timeParamsFormParent: this.timeParams,
      getTimeParamsFormParent: () => this.timeParams
    }
  },
  data() {
    return {
      timeParams: {}
    }
  },
  methods: {
    timeChangeHandler(e) {
      this.timeParams = e;
    }
  }
}
</script>

<style scoped lang="stylus">

</style>
